package com.shucoin.www.tycoin.ui.history;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v7.widget.RecyclerView;
import android.widget.Spinner;
import android.widget.TextView;

import com.shucoin.www.tycoin.BaseActivity;
import com.shucoin.www.tycoin.R;

import butterknife.BindView;
import butterknife.ButterKnife;


/**
 * Created by happy on 2017/8/26.
 */

public class HistoryAt extends BaseActivity {


    @BindView(R.id.spinner)
    Spinner spinner;
    @BindView(R.id.tab_layout)
    TabLayout tabLayout;
    @BindView(R.id.text_no_data)
    TextView textNoData;
    @BindView(R.id.recyclerView)
    RecyclerView recyclerView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_fragment_history);
        ButterKnife.bind(this);
        initTabView();
    }


    void initTabView() {
        tabLayout.addTab(tabLayout.newTab().setText("市价"));
        tabLayout.addTab(tabLayout.newTab().setText("委托"));
        String tabMEnu[] = getResources().getStringArray(R.array.histtory_tab_menu);
        for (String s : tabMEnu) {
            //  tabLayout.addTab(tabLayout.newTab().setText(s));
        }

    }


}
